package com.ahu.qifei.fenghuolun;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.client.ClientHttpRequestFactory;
import org.springframework.http.client.SimpleClientHttpRequestFactory;
import org.springframework.web.client.RestTemplate;

// exclude= {DataSourceAutoConfiguration.class} 不加载数据源
@SpringBootApplication
@MapperScan(basePackages = {"com.ahu.qifei.common.mapper"})
@ComponentScan(value = {"com.ahu.qifei"})

public class FenghuolunApplication {

    public static void main(String[] args) {
        SpringApplication.run(FenghuolunApplication.class, args);
    }

}
